package com.zkingsoft.services.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zkingsoft.dao.ClassCostDao;
import com.zkingsoft.model.ClassCost;
import com.zkingsoft.plugin.pojo.PaginationVO;
import com.zkingsoft.services.ClassCostService;

@Service("ClassCostService")
public class ClassCostServiceImpl implements ClassCostService{
	
	@Autowired
	 ClassCostDao classCostDao;


	@Override
	public int findTotal(ClassCost classCost) {
		return classCostDao.selectTotalRecord(classCost);
	}

	@Override
	public List<ClassCost> findInPage(ClassCost classCost, PaginationVO pageVo) {
		return classCostDao.selectInPage(classCost, pageVo);
	}

	@Override
	public List<ClassCost> findModel(ClassCost classCost) {
		return classCostDao.selectModel(classCost);
	}
}
